home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Navigation Services SDK / Examples / SimpleText / SimpleText ƒ / Clipboard.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-06-16  |  1.1 KB  |  38 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Clipboard.h
  3.  
  4.     Contains:    Clipboard support for simple text application
  5.  
  6. ** Copyright 1993-1996 Apple Computer. All rights reserved.
  7. **
  8. **    You may incorporate this sample code into your applications without
  9. **    restriction, though the sample code has been provided "AS IS" and the
  10. **    responsibility for its operation is 100% yours.  However, what you are
  11. **    not permitted to do is to redistribute the source as "DSC Sample Code"
  12. **    after having made changes. If you're going to re-distribute the source,
  13. **    we require that you make it clear in the source that the code was
  14. **    descended from Apple Sample Code, but that you've made changes.
  15.  
  16. */
  17. #include "SimpleText.h"
  18.  
  19. #define kClipboardWindowID    kClipboardBaseID
  20.  
  21. #define kClipboardStrings    kClipboardBaseID
  22. #define iClipboardNone        1
  23. #define iClipboardUnknown    2
  24. #define iClipboardPICT        3
  25. #define iClipboardText        4
  26. #define iClipboardHide        5
  27. #define iClipboardShow        6
  28.  
  29. #ifndef REZ
  30.     struct ClipboardDataRecord
  31.         {
  32.         WindowDataRecord        w;
  33.         
  34.         short                    scrapCount;
  35.         };
  36.     typedef struct ClipboardDataRecord ClipboardDataRecord, *ClipboardDataPtr;    
  37. #endif
  38.